#!/bin/bash
echo "Process ID: $$"
echo "File Name: $0"
echo "First Parameter : $1"
echo "Second Parameter : $2"
echo "All parameters 1: $@"
echo "All parameters 2: $*"
echo "Total: $#"

#定义函数
function func() {
	echo "Language: $1"
    	echo "URL: $2"
    	echo "First Parameter : $1"
    	echo "Second Parameter : $2"
    	echo "All parameters 1: $@"
    	echo "All parameters 2: $*"
    	echo "Total: $#"
}
#调用函数
func Java http://baidu.com/
